package cn.wolfcode.redis.service;

import java.util.concurrent.TimeUnit;

public interface ISecurityRedisService {
    boolean isAllowBrush(String key);

    boolean inBlackList(String ip);

    boolean isAllowBrush(int time, int count, TimeUnit unit, String key);

    void addIllegalCount(String ip);

    boolean isAllowBrushReg(String key);

    void addRegCount(String key);
}
